package com.atguigu.gulimall.member.feign;


import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 用于调用 优惠券服务 接口的 feign
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * todo 用于测试 feign
     * @return
     */
    @RequestMapping("/coupon/coupon/get/coupon")
    R getCoupon();


}
